From 68e6f038a42cad1a75d219b94df9ddbb3a713709 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Mon, 7 May 2012 10:13:15 +0200 Subject: [PATCH] x86/MSI: remove stray endianness definition ... as it conflicts with the one made in asm/byteorder.h, and hence build fails when both happen to be included from the same source file. Signed-off-by: Jan Beulich Acked-by: Keir Fraser --- xen/include/asm-x86/msi.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xen/include/asm-x86/msi.h b/xen/include/asm-x86/msi.h index 9715ac8522..4778420baf 100644 --- a/xen/include/asm-x86/msi.h +++ b/xen/include/asm-x86/msi.h @@ -3,6 +3,7 @@ #include #include +#include /* * Constants for Intel APIC based MSI messages. @@ -165,8 +166,6 @@ int msi_free_irq(struct msi_desc *entry); #define MSI_LOGICAL_MODE 1 #define MSI_REDIRECTION_HINT_MODE 0 -#define __LITTLE_ENDIAN_BITFIELD 1 - struct msg_data { #if defined(__LITTLE_ENDIAN_BITFIELD) __u32 vector : 8; -- 2.30.2